import appconf from "./appconf.js"
const domain = appconf.domain;
export default {
	Domain: domain, // 服务器地址

	OurUpLoadUrl:  "http://billiardroom.wteam.club",
	OurUpLoadUrl2: "http://localhost:4003",
	OurUpLoadUrl1: "http://billiardroom.wteam.club",
	ZheKeUploadUrl: "https://admin.51sioc.com",


	NotActionLogin: domain + "tcstore/wx/login/silence", // 静默登录（微信）

	login: domain + "/business/login",
	logout: domain + "/business/logout",
	getPermission: domain + "/business/getPermission",
	openDoor: domain + "/business/openDoor", //开门
	changePassword: domain + "/business/changePassword", //修改密码
	
	goodsTypeQuery: domain + "/goods/goodsTypeQuery", //查询商品类别
	platformGoodsQuery: domain + "/goods/platformGoodsQuery", // 查询平台商品库
	orderQueryByDate: domain + "/order/orderQueryByDate", //根据年月日查询门店订单
	orderChangeStatus: domain + "/order/orderChangeStatus", //通过核销
	turnoverQueryByDate: domain + "/store/turnoverQueryByDate", //根据年月日查询门店营业额
	addGoods: domain + "/store/addGoods", //添加门店商品
	deleteStoreGoods: domain + "/store/deleteStoreGoods",

	editStoreGoods: domain + "/store/editStoreGoods",
	addGoodsByBarcode: domain + "/store/addGoodsByBarcode",


	storeDetailQuery: domain + "/store/storeDetailQuery",
	storeGoodsQuery: domain + "/store/storeGoodsQuery",
	storeQuery: domain + "/store/storeQuery",
	queryAccessDeviceById: domain + "/accessDevice/queryAccessDeviceById",
	queryGoodsByBarcode: domain + "/goods/queryGoodsByBarcode",
	queryStoreGoodsByBarcode: domain + "/goods/queryStoreGoodsByBarcode",
	queryStoreGoodsById: domain + "/goods/queryStoreGoodsById",
	
	unInputGoodsQuery: domain + "/goods/unInputGoodsQuery",  // "查询门店未录入商品列表，1是未录入，2是已录入"
	UpdateUnInputGoods: domain + "/goods/UpdateUnInputGoods",  // 修改表示该商品已经录入

	orderDetailQueryByNum: domain + "/order/orderDetailQueryByNum",

	queryStoreGoodsDetail: domain + "/store/queryStoreGoodsDetail",
	getAllrechargePackage: domain + "/rechargePackage/getAllrechargePackage", // 获取套餐列表
	callback: domain + "/recharge/callback", //充值结果官方回调
	rechargeCombination: domain + "/recharge/rechargeCombination", // 商户充值
	updateCloudGuard: domain + "/business/updateCloudGuard", // 商户开启或关闭云值守
	getBusinessOpenId: domain + "/business/getBusinessOpenId", // 获取商户的openId

	uploadStoreEnterRecord: domain + "/store/uploadStoreEnterRecord", // 导出门店进门记录

	storeEnterRecord: domain + "/store/storeEnterRecord", // 查询门店进门记录

	businessgoodslist: domain + "/system/businessgoods/list", // 查询入库订单

	inventorylist: domain + "/system/inventory/list", // 查询盘点单列表
	inventorysexport: domain + "/system/inventory/export", // 导出盘点单列表
	inventoryAdd: domain + "/system/inventory", // 新增、查看盘点单 详情
	inventoryDel: domain + "/system/inventory/del", // 删除盘点单


	businessgoods: domain + "/system/businessgoods", // 新增入库订单
	InboundModel: domain + "/system/businessgoods/export/InboundModel", // 入库订单模板

	businessgoodsExport: domain + "/system/businessgoods/export", // 导出入库订单

	StoreGoodsRankings: domain + "/store/StoreGoodsRankings", // 商品排行榜 
	queryGoodsRankingsByDate: domain + "/store/queryGoodsRankingsByDate", // 新商品排行榜 
	ExportGoodsRankingsByDate: domain + "/store/ExportGoodsRankingsByDate", // 新商品排行榜 
	turnTenQuery: domain + "/store/turnTenQuery", // 销量汇总
	ExportTenQuery: domain + "/store/ExportTenQuery", // 导出 销量汇总

	queryStoreVipList: domain + "/wxuser/queryStoreVipList", // 查看门店会员列表 
	ExportStoreVipList: domain + "/wxuser/ExportStoreVipList", // 导出门店会员列表 
	getVipOrder: domain + "/wxuser/getVipOrder", // 查看会员消费记录 
	getVipOrderDesc: domain + "/wxuser/getVipOrderDesc", // 查看会员消费记录 
	getUserDesc: domain + "/wxuser/getUserDesc", // 查看会员详情 
	setUserDesc: domain + "/wxuser/setUserDesc", // 修改会员详情 


	Activity: domain + "/Activity", // 活动
	Activitylist: domain + "/Activity/list", // 活动
	ActivityJSlist: domain + "/Activity/JSlist", // 活动
	Activitydel: domain + "/Activity/del", // 活动


	GetBlackList: domain + "/storeSalesAnalysis/GetBlackList",
	DeleteBlackUser: domain + "/storeSalesAnalysis/DeleteBlackUser",
	AddBlackUser: domain + "/storeSalesAnalysis/AddBlackUser",


	GetgenerateUrllink: domain + "/wxShare/GetgenerateUrllink", // H5
	Getwxacode: domain + "/wxShare/Getwxacode", //  小程序二维码
	getEWM: domain + "/wxShare/getEWM", // 二维码


	uploadGuanGaoImg: "/device/cashier/uploadGuanGaoImg", // 收银机广告
	uploadIndexImg: "/device/cashier/uploadIndexImg", // 收银机主页
	setCashierH: "/device/cashier/setCashierH", // 收银机超链接
	getCashierImg: "/device/cashier/getCashierImg", // 收银机广告

	// 数据统计
	SalesAnalysis: domain + '/storeSalesAnalysis/Statistics',


	//新建标签确认按钮
	CreateNewTag: domain + "/system/tag",
	LinQuCouponAll: domain + "/system/tag/LinQuCouponAll",
	// 查询用户所有标签
	GetAllTags: domain + "/system/tag/list",
	LinQuCouponByPhone: domain + "/system/tag/LinQuCouponByPhone",
	// 删除用户标签
	deleteUserTag: domain + "/system/relation/del",
	// 修改标签内容
	UpdateTags: domain + "/system/tag",

	// 查询标签和用户关系	
	GetTagsforVip: domain + "/system/relation",
	// 删除标签和用户关系
	DeleteTagsforVip: domain + "/system/relation/del",
	// 新增和修改标签和用户关系
	CreateOrUpdateTagsforVip: domain + "/system/relation",
	TagsaddAll: domain + "/system/relation/addAll",
	// 发放优惠券
	SentHuoDong: domain + '/system/tag/LinQuCoupon',


	classificationStatistics: domain + "/storeSalesAnalysis/classificationStatistics", // 分类统计
	classificationTime: domain + "/storeSalesAnalysis/classificationTime", // 分时统计
	Statistics: domain + "/storeSalesAnalysis/Statistics", // 数据统计


	deviceloglist: domain + "/devicelog/access/list", // 查询门禁进出日记列表
	devicelogId: domain + "/devicelog/access", // 查询某用户全部进门记录
	CameraDevice: domain + "/devicelog/access/CameraDevice", // 查询门店监控数据
	orderById: domain + "/order", // 根据id查询订单

     // 通过会员手机号搜索会员
	 queryStoreVipByPhone:domain+"/wxuser/queryStoreVipByPhone"

}